package com.ruoyi.web.controller.agoniappWeb;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.IAgoniUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pages/user")
public class UserWebController {
    @Autowired
    private IAgoniUserService agoniUserService;

    @GetMapping("/listUsers")
    public AjaxResult getUserList() {
        return AjaxResult.success(agoniUserService.selectUserList());
    }


}
